# -*- coding: utf-8 -*-
import time

def index():
    if check_user():
        redirect(session.current_url)
    return dict()

def binduser():
    "绑定用户(淘宝)"
    url = session.sip_isp_loginurl+'&sip_redirecturl='+session.sip_redirecturl
    return dict(
        url = url,
        )
